define({ "api": [
  {
    "type": "get",
    "url": "/heors",
    "title": "1.1 请求所有未被删除的英雄",
    "name": "Getheors",
    "group": "heors",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "null",
            "optional": false,
            "field": "null",
            "description": "<p>null</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    \"status\": 200,\n    \"message\": [\n        {\n            \"id\": 1,\n            \"name\": \"廉颇\",\n            \"age\": 90,\n            \"add_time\": \"2021-01-22 09:44:04\",\n            \"status\": 1\n        },\n        {\n            \"id\": 2,\n            \"name\": \"李白\",\n            \"age\": 18,\n            \"add_time\": \"2021-01-22 10:00:38\",\n            \"status\": 1\n        },\n        {\n            \"id\": 4,\n            \"name\": \"安琪拉\",\n            \"age\": 17,\n            \"add_time\": \"2021-01-22 10:53:11\",\n            \"status\": 1\n        },\n        {\n            \"id\": 5,\n            \"name\": \"澜朋友\",\n            \"age\": 10,\n            \"add_time\": \"2021-01-25 08:57:23\",\n            \"status\": 1\n        }\n    ]\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "routes/apidoc.js",
    "groupTitle": "heors"
  },
  {
    "type": "get",
    "url": "/heors/:id",
    "title": "1.2 根据id请求未被删除的英雄",
    "name": "GetheorsById",
    "group": "heors",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>指定的id</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    \"status\": 200,\n    \"message\": [\n        {\n            \"id\": 1,\n            \"name\": \"廉颇\",\n            \"age\": 90,\n            \"add_time\": \"2021-01-22 09:44:04\",\n            \"status\": 1\n        }\n    ]\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "routes/apidoc.js",
    "groupTitle": "heors"
  },
  {
    "type": "post",
    "url": "/heors",
    "title": "1.3 添加英雄",
    "name": "addheors",
    "group": "heors",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>英雄名称，必填</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "age",
            "description": "<p>英雄年龄, 必填</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    \"status\": 200,\n    \"message\": \"添加成功\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "routes/apidoc.js",
    "groupTitle": "heors"
  },
  {
    "type": "delete",
    "url": "/heors/:id",
    "title": "1.5 根据id删除英雄",
    "name": "deleteheors",
    "group": "heors",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>用户id</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    \"status\": 200,\n    \"message\": \"删除成功\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "routes/apidoc.js",
    "groupTitle": "heors"
  },
  {
    "type": "put",
    "url": "/heors/:id",
    "title": "1.4 根据id编辑英雄",
    "name": "updateheors",
    "group": "heors",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>英雄名称，必填</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "age",
            "description": "<p>英雄年龄, 必填</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "{\n    \"status\": 200,\n    \"message\": \"编辑成功\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "routes/apidoc.js",
    "groupTitle": "heors"
  }
] });
